﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ClassAdd.ascx.cs" Inherits="Assessment.Management.UI.Admin.UserControls.Classes.ClassAdd" %>
<link href="../../css/toolbar.css" rel="stylesheet" type="text/css" />
<div class="toolbar">
    <div>
        TẠO MỚI LỚP
    </div>
    <ul class="icon_toolbar">
        <li class="icon_save">
            <asp:LinkButton ID="btnSave" runat="server" OnClick="btnSave_Click">Lưu</asp:LinkButton>
        </li>
        <li class="icon_save">
            <asp:LinkButton ID="btnSave2" runat="server" OnClick="btnSaveAndNew_Click">Lưu và Tạo mới</asp:LinkButton>
        </li>
        <li class="icon_delete">
             <asp:LinkButton ID="btnExit" runat="server" OnClick="btnExit_Click">Thoát</asp:LinkButton>
        </li>
    </ul>
</div>
<div style="clear: both">
    <table cellpadding="0" cellspacing="0" class="tableDisplay">
        <tr>
            <th>
                Tên lớp
            </th>
            <td>
                <asp:TextBox runat="server" ID="txtTenL" MaxLength="256" Width="200" />
            </td>
            <th>
                Chọn khoa
            </th>
            <td>
                <asp:DropDownList ID="ddlKhoa" runat="server" DataTextField="DepartmentName" DataValueField="ID"
                    AutoPostBack="True" Width="200px">
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    <asp:Label ID="lblMessage" runat="server"></asp:Label>
</div>
<h4>
    Thêm môn học từ file Excel:</h4>
<br />
<table>
    <tr>
        <td>
            <b>Chọn file Excel: </b>
        </td>
        <td>
            <asp:FileUpload ID="fileUpload" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Button ID="btnUpload" runat="server" OnClick="btnUpload_Click" Text="Upload" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Label ID="lblThongBao" runat="server" Text=""></asp:Label>
        </td>
    </tr>
</table>
<br />
